package com.junbao.module.mine.login.viewModel;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.junbao.module.mine.login.model.Login;
import com.junbao.module.mine.main.model.User;

/**
 * author : Majunbao
 * github : https://github.com/MaJunBaox
 * time   : 2022/8/21 6:15 下午
 * desc   :
 */
public class LoginViewModel extends ViewModel {

    public LiveData<Login> getUserInfo(){
        MutableLiveData<Login> liveData = new MutableLiveData<>();

        Login login = new Login();
        login.setUsername("aaa");
        login.setPassword("123");
        liveData.postValue(login);
        return liveData ;
    }
}
